<!doctype html>
<html class="no-js">

<head>
    <title>聊天室</title>
    <#include "/fd/components/meta.html" />
    <#include "/fd/components/stylesheets.html" />
    <link rel="stylesheet" type="text/css" href="/fd/stylesheets/roomInfo.css" />
</head>

<body>
    <div id="app">
        <#list list as item>
            <#if user.code==item.fromUser>
                <div class="am-g am-g-collapse container">
                    <div class="am-u-sm-offset-2 am-u-sm-8 content">
                        <div class="time">${item.addTime!}</div>
                        <div class="message">${item.content!}</div>
                    </div>
                    <div class="am-u-sm-2 logo">
                        <img src="${item.logo}" class="am-img-responsive" />
                    </div>
                </div>
            <#else>
                <div class="am-g am-g-collapse container">
                    <div class="am-u-sm-2 logo">
                        <img src="${item.logo}" class="am-img-responsive" />
                    </div>
                    <div class="am-u-sm-8 content">
                        <div class="time">${item.addTime!}</div>
                        <div class="message">${item.content!}</div>
                    </div>
                    <div class="am-u-sm-2"></div>
                </div>
            </#if>
            <hr/>
        </#list>
    </div>
    <#include "/fd/components/scripts.html" />
</body>

</html>